//
//  QSScriptMessageHandler.h
//  QSSmarkPark-iOS
//
//  Created by 孙俊 on 2018/3/17.
//  Copyright © 2018年 QiSheng. All rights reserved.
//

#import <Foundation/Foundation.h>
@import WebKit;

@interface QSScriptMessageHandler : NSObject<WKScriptMessageHandler>

/** 代理 */
@property (nonatomic, weak) id<WKScriptMessageHandler> delegate;

/** 创建方法 */
- (instancetype)initWithDelegate:(id<WKScriptMessageHandler>)delegate;

/** 便利构造器 */
+ (instancetype)scriptWithDelegate:(id<WKScriptMessageHandler>)delegate;

@end
